package Cantella::DJabberd::Web::UI::Widget::User::Status;

use Reaction::UI::WidgetClass;

class Status, which {

  before fragment widget {
    arg user_uri     => $_{viewport}->ctx->uri_for("/user/home");
    arg logout_uri   => $_{viewport}->ctx->uri_for("/logout");
    arg display_name => $_{viewport}->user->display_name;
  };

};

1;
